package com.wrial.mall.product.feign;
/*
 * @Author  Wrial
 * @Date Created in 21:31 2020/5/19
 * @Description
 */

import com.wrial.common.utils.R;
import com.wrial.to.es.SkuEsModel;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;


@FeignClient("mall-search")
public interface SearchFeignService {

    @PostMapping("/search/save/product")
    R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);
}
